Skip to content

Conversation

@FileEX
Copy link
Member

@FileEX FileEX commented Jun 6, 2025

This PR fixes several behaviors related to animation progress and speed. It is a patch for #3923 and #3520.

The PR not only fixes synchronized animations but also unsynchronized ones on the client side. Previously, when teleporting to a ped with an animation, the animation progress and speed were not saved, causing animations to restart from the beginning. The same happened, for example, after reconnecting.

Now, animation progress and speed are cached and used during stream-in.

@FileEX FileEX changed the title Bugfix/anim sync fix Fix anim progress & speed Jun 6, 2025
@Fernando-A-Rocha
Copy link
Contributor

This is an awesome step in the right direction. Thank you 🤗

@syncc01
Copy link

syncc01 commented Jun 21, 2025

3D sounds (playSound3D) are affected similarly — when a player teleports to another player or reconnects, the sound restarts instead of continuing from its previous position

@Dutchman101
Copy link
Member

Thanks, this will be tested in nightly channel.

@Dutchman101 Dutchman101 merged commit ad0d6bf into multitheftauto:master Jul 15, 2025
6 checks passed
MTABot pushed a commit that referenced this pull request Jul 15, 2025
botder added a commit that referenced this pull request Jul 18, 2025
This reverts commit ad0d6bf.

The new code started reading a 'double' instead of a 'float', which is incompatible with older servers,
that only sent a 'float' value.
MTABot pushed a commit that referenced this pull request Jul 18, 2025
7ebe31a Revert "Fix anim progress & speed (#4245)"
3660881 Update crowdin-translators.json
botder added a commit that referenced this pull request Jul 31, 2025
MTABot pushed a commit that referenced this pull request Jul 31, 2025
1e24eac Restore "Fix anim progress & speed (PR #4245)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants